package com.yyds.yygh.hospclient.service;

import com.yyds.yygh.model.hosp.Hospital;
import com.yyds.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface HospitalService {
    void save(Map<String, Object> map);

    Hospital findHospital(String hoscode);

    Page<Hospital> selectPage(Integer pageNum, Integer pageSize, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String id, Integer status);

    Map<String, Object> showDetail(String id);

    //根据医院编码获取医院名称
    String getHospName(String hoscode);

    //根据医院名称获取医院列表
    List<Hospital> findByHosname(String hosname);
    //医院预约挂号详情
    Map<String,Object> item(String hoscode);


}
